package com.dd.cloud.user.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Lx
 * @version 1.0
 */
@Data
public class DelayMqVo<T> implements Serializable {

    private static final long serialVersionUID = 5062284786886955917L;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 数据
     */
    T t;

    public static class DelayMqVoType {
        // 订单自动取消
        public static final int ORDER_CANCEL = 1;
        // 处方自动收货
        public static final int PRES_COMPLETE = 2;
        // 处方订单超时
        public static final int PRES_REVIEW_TIMEOUT = 3;
        // 预约订单超时
        public static final int CONSULT_TIMEOUT = 4;
        // 预约订单自动结束
        public static final int CONSULT_AUTO_COMPLETE = 5;
        // 预约医生接诊患者未回复
        public static final int CONSULT_PATIENT_NOT_REPLY = 6;
        // 问诊订单分账设置
        public static final int CONSULT_ORDER_SETTING = 7;
        //问诊未支付提醒
        public static final int INQUIRY_ORDER_REMIND = 8;

        //处方未支付提醒
        public static final int PRE_ORDER_REMIND = 9;

        //发送app消息
        public static final int APP_UNIPUSH_MSG = 10;

        //积分延时器
        public static final int DOCTOR_INTEGRAL_MSG = 11;

        //书籍转换
        public static final int BOOK_TRANSITION = 12;

        //医生签名
        public static final int DOCTOR_SIGNAL = 13;

        //医生任务记录
        public static final int DOCTOR_TASK = 14;

        //医生注册48小时未认证任务
        public static final int DOCTOR_NO_AUTH = 15;
    }
}
